﻿using Production.CommonLib.Models;
using Swimj.CommonLib.Base;

namespace Production.ApplicationLib.Queries
{
    public interface IProcessQueries
    {
        Task<PaginatedResult<ProcessInfoResponseDto>> QueryProcessesByPage(ProcessSearchRequestDto model);

        Task<Result<IList<ProcessInfoResponseDto>>?> QueryProcesses(ProcessSearchRequestDto model);
        
        Task<Result<ProcessInfoResponseDto>?> GetProcess(int id);
    }
}